<?php require_once('../../core/import.php');?>
<?php User::Permission('SHIPYARD_UPDATE'); ?>
<?php
    if($_SERVER['REQUEST_METHOD']=='POST')
    {
       $Data=array
		(
			'Title'=>Functions::FormArgs('Title'),
			'Shipyard_Name'=>Functions::FormArgs('Shipyard_Name'),
			'Shipowner_Name'=>Functions::FormArgs('Shipowner_Name'),
			'Shipyard_Nationality'=>Functions::FormArgs('Shipyard_Nationality'),
			'ShipType'=>Functions::FormArgs('ShipType'),
			'Amount'=>Functions::FormArgs('Amount'),
			'GiveDatetime'=>Functions::FormArgs('GiveDatetime'),
			'OrderDatetime'=>Functions::FormArgs('OrderDatetime'),			
			'URL'=>Functions::FormArgs('URL')
		);

        DB::UpdateRowByID('shipyard_ordersheet',Functions::FormArgs('ID'),$Data);
        echo '{"Number":"0","Description":"成功执行"}';
    }
?>